//定义用户的数据类型:interface 和 type
export type User = {
  id: string;
  studentId: string;
  userPassword: string;
  userName: string;
  userPhone: string;
  sex: string;
  status: string;
};
//定义列表查询的参数
export type ListParm = {
  currentPage: number;
  pageSize: number;
  userName: string;
  total?: number;
};
//登录参数
export type LoginParm = {
  adminName: string;
  adminPassword: string;
  // code: string;
};
export type UpdateParm = {
  password: string;
  userId: string;
  oldPassword: string;
};
